package com.tanhua.dubbo.api;

import java.util.List;

public interface UserLikeApi {

    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);

    int queryLikeCount(Long userId);

    int queryFanCount(Long userId);

    int queryEachLikeCount(Long userId);

    List<Long> queryEachLike(int page, int pagesize,Long userId);

    List<Long> queryLike(int page, int pagesize, Long userId);

    List<Long> queryFan(int page, int pagesize, Long userId);

}